/*
 * L1Comparator.h
 *
 *      Author: Jerome RD Soine and Christoph A Brand
 *      Institution: Schwarz goup, Institute for Theoretical Physics, Heidelberg University, Germany
 */

#ifndef L1COMPARATOR_H_
#define L1COMPARATOR_H_

#include "L2Comparator.h"

/*!
 * \brief Implementation of the L1 comparator: L1 = sum abs(dev)
 */

class L1Comparator : public L2Comparator
{
public:
	L1Comparator(AbstractDataContainer* DATA) : L2Comparator(DATA){};
	virtual L1Comparator * clone() const { return new L1Comparator(data); };
	virtual double getComparisonValue(SubstrateModel * substrate_model);
};



#endif /* L1COMPARATOR_H_ */
